package com.hgkj.cloud.base.service.impl;

import com.hgkj.cloud.base.dao.SysFaqAnswerMapper;
import com.hgkj.cloud.base.domain.SysFaqAnswer;
import com.hgkj.cloud.base.service.SysFaqAnswerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class SysFaqAnswerServiceImpl implements SysFaqAnswerService {

    @Autowired
    private SysFaqAnswerMapper sysFaqAnswerMapper;

    @Override
    public int deleteByPrimaryKey(String uuid) {
        return sysFaqAnswerMapper.deleteByPrimaryKey(uuid);
    }

    @Override
    public int insert(SysFaqAnswer record) {
        return sysFaqAnswerMapper.insert(record);
    }

    @Override
    public int insertSelective(SysFaqAnswer record) {
        return sysFaqAnswerMapper.insertSelective(record);
    }

    @Override
    public SysFaqAnswer selectByPrimaryKey(String uuid) {
        return sysFaqAnswerMapper.selectByPrimaryKey(uuid);
    }

    @Override
    public int updateByPrimaryKeySelective(SysFaqAnswer record) {
        return sysFaqAnswerMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(SysFaqAnswer record) {
        return sysFaqAnswerMapper.updateByPrimaryKey(record);
    }

    @Override
    public List<SysFaqAnswer> listPareFaqAnswers(Map<String, Object> map) {
        return sysFaqAnswerMapper.listPareFaqAnswers(map);
    }

    @Override
    public List<SysFaqAnswer> listFaqAnswers(Map<String, Object> map) {
        return sysFaqAnswerMapper.listFaqAnswers(map);
    }
}
